body {
    margin: 0;
    padding: 0;
    background-image: url("../img/img_background_indistinct.jpg"); 
    background-size: cover;
    background-repeat: no-repeat;
}

.container {
    width: 900px;
    height: 635px;
    margin: 30px auto auto;
    background-color: white;
    border-radius: 8px;
    position: relative;
}

.header {
    width: 100%;
    height: 80px;
    background-color: rgb(74, 75, 77);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
}

div.username {
    height: 25px;
    width: auto;
    color: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 25px;
    left: 20px;

}

.title {
    height: 25px;
    line-height: 25px;
    color: rgb(104, 151, 199);
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    display: none;
}

.friend-name {
    font-style: italic;
}

.user-state {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

.user-state #online{
    display: inline-block;
}

.user-state #offline{
    display: none;
}

.body {
    width: 670px;
    height: 545px;
    position: absolute;
    left: 0;
    display: none;
    /* background-color: green; */
}

.chat-content {
    width: 670px;
    height: 410px;
    /* background-color: red; */
}

.chat-content .chat-list {
    margin: 0;
    list-style-type: none;
    padding: 10px 0 0;
}

.chat-list li{
    display: block;
    width: 650px;
    height: 40px;
    margin-left: 10px;
}

.chat-list li:not(:first-child) {
    margin-top: 10px;
}

.chat-list li #chat-myself{
    width: 100%;
    height: 100%;
}

.chat-list li .img {
    width: 40px;
    height: 40px;
    /* background-color: red; */
    border-radius: 5px;
}

.chat-list li p {
    margin: 0;
    line-height: 30px;
    padding: 0 10px;
}

.chat-list li #chat-friend .img{
    float: left;
    background-image: url("../img/female.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.chat-list li #chat-friend .bubble {
    float: left;
    position: relative;
    width: auto;
    height: 30px;
    padding: 0;
    background-color: rgb(206, 210, 212);/* 设置气泡背景色 */
    color: black; /* 设置文字颜色 */
    border-radius: 5px; /* 设置圆角 */
    margin-top: 5px;
    margin-left: 10px;
}

.chat-list li #chat-friend .bubble::after {
    content: '';
    position: absolute;
    border-width: 9px;
    left: -17px;
    top: 7px;
    border-style: solid;
    border-color: transparent rgb(206, 210, 212) transparent transparent; /* 设置尖角颜色 */
}

.chat-list li #chat-myself{
    width: 100%;
    height: 100%;
}

.chat-list li #chat-myself .img{
    float: right;
    background-image: url('../img/male.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.chat-list li #chat-myself .bubble {
    float: right;
    position: relative;
    width: auto;
    height: 30px;
    padding: 0;
    background-color: rgb(169, 227, 166); /* 设置气泡背景色 */
    color: black; /* 设置文字颜色 */
    border-radius: 5px; /* 设置圆角 */
    margin-top: 5px;
    margin-right: 10px;
}

.chat-list li #chat-myself .bubble::after {
    content: '';
    position: absolute;
    border-width: 9px;
    right: -16px;
    top: 7px;
    border-style: solid;
    border-color: transparent transparent transparent rgb(169, 227, 166); /* 设置尖角颜色 */
}

.send-content {
    width: 670px;
    height: 145px;
    border-top: 2px solid rgba(128, 128, 128, 0.256);
    position: relative;
    /* background-color: green; */
}

.send-content #message {
    width: 650px;
    height: 90px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 5px;
    border: none;
    outline: none;
}

.send-content .send-btn{
    height: 28px;
    width: 50px;
    background-color: rgb(33, 194, 204);
    border: 0;
    border-radius: 5px;
    color: white;
    display: block;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.right-nav {
    width: 230px;
    height: 555px;
    /* background-color: red; */
    position: absolute;
    right: 0;
    border-left: 2px solid rgba(128, 128, 128, 0.256);
}

.friend-list {
    width: 100%;
    height: 181.6px;
    /* background-color: red; */
}

.list-title {
    width: auto;
    height: 40px;
    line-height: 40px;
    margin-left: 20px;
    color: rgb(97, 203, 185);
    font-weight: bold;
}

.underline {
    margin-left: 5px;
    margin-right: 5px;
    background-color: rgba(128, 128, 128, 0.256);
    height: 2px;
}

.underline .list-underline {
    width: 64px;
    height: 3px;
    background-color: rgb(97, 203, 185);
    margin-left: 15px;
}

.list {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
    list-style-type: none;
}

.list li:not(:first-child) {
    margin-top: 5px;
}

#friend-list li:hover {
    cursor: pointer;
    color: blue;
}

#system-broadcast-list {
    color: rgba(128, 128, 128, 0.7);
    font-size: 14px;
}